package com.digdes.calendar.gwt.client.widget;

import com.digdes.calendar.gwt.client.dto.EventDTOImpl;
import com.google.gwt.user.client.ui.Label;

public class EventLabel extends Label {
    private EventDTOImpl eventDTO;
    private int leftPosition;
    private int topPosition;
    private int top;

    public EventLabel(EventDTOImpl eventDTO) {
        this.eventDTO = eventDTO;
    }

    public EventLabel() {
        //To change body of created methods use File | Settings | File Templates.
    }

    public EventDTOImpl getEventDTO() {
        return eventDTO;
    }

    public void setEventDTO(EventDTOImpl eventDTO) {
        this.eventDTO = eventDTO;
    }

    public int getLeftPosition() {
        return leftPosition;
    }

    public void setLeftPosition(int leftPosition) {
        this.leftPosition = leftPosition;
    }

    public int getTopPosition() {
        return topPosition;
    }

    public void setTopPosition(int topPosition) {
        this.topPosition = topPosition;
    }


    public int getTop() {
        return top;
    }

    public void setTop(int top) {
        this.top = top;
    }
}
